﻿using WindowsForms.AOnline.View.Dictionary;
//using System.Threading.Tasks;

namespace WindowsForms.AOnline.Presenter.Dictionary.FixedAsset
{
    public class FixedAssetsPresenter : Presenter<IFixedAssetsView>
    {
        /// <summary>
        /// Initializes a new instance of the <see cref="CurrenciesPresenter" /> class.
        /// </summary>
        /// <param name="view">The view.</param>
        public FixedAssetsPresenter(IFixedAssetsView view) 
            : base(view)
        {
        }

        /// <summary>
        /// Displays this instance.
        /// </summary>
        public void Display(int page)
        {
            View.FixedAssets = Model.GetFixedAssets(page);
        }

        public int GetPageSize()
        {
            return Model.GetPageSizeFixedAssets();
        }


        public void GetAll()
        {
            //View.FixedAssets = Model.GetAllFixedAssets();
        }
    }
}
